﻿using Core.SimpleTemp.Application.UserApp;
using Core.SimpleTemp.Common;
using Core.SimpleTemp.Entitys;
using Core.Toolkit.Core.Application;
using System;
using System.ComponentModel.DataAnnotations;
using Core.SimpleTemp.Entitys.CBS;

namespace Core.SimpleTemp.Application.CBS.dto
{
    /// <summary>
    /// 承包商人员附件
    /// </summary>
    [CreateMap(typeof(CBS_UserAttachment))]
    public class CBS_UserAttachmentDto : Dto
    {
        /// <summary>
        /// 承包商人员ID
        /// </summary>
        public Guid? CBSUserId { get; set; }

        /// <summary>
        /// 有效开始时间
        /// </summary>
        public DateTime BeginTime { get; set; }

        /// <summary>
        /// 有效结束时间
        /// </summary>
        public DateTime EndTime { get; set; }

        /// <summary>
        /// 附件表ID
        /// </summary>
        public Guid? AttachmentId { get; set; }

        /// <summary>
        /// 附件名称
        /// </summary>
        public String AttachmentName { get; set; }
    }
}
